/**
 * 
 */

/**
 * @author Bernhard Teismann
 *
 */
public class Produkt {
	
	private static int produktNr = 0;
	private String name;
	private int id;
	
	public Produkt(String name){
		id = produktNr;
		produktNr++;
		setName(name);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}
	
	public static int actualproduktNr(){return produktNr;}
}
